# -*- coding: utf-8 -*-
# @Time    : 2021/9/15 16:49
# @Author  : BrandonGT
# @FileName: 9_1_restaurant.py

class Restaurant:
    def __init__(self, name, cuisine):
        self.restaurant_name = name
        self.cuisine_name = cuisine
        self.number_served = 0

    def describe_restaurant(self):
        print("The Best Restaurant in the world")
        print("The owner is Brandon")

    def open_restaurant(self):
        print("The restaurant is now opened!")

    def set_number_served(self, number):
        self.number_served = number

    def increment_number_served(self, increment):
        self.number_served += increment


restaurant = Restaurant("BrandonGT", "Pizza")

print(f"The number of served customer is :{restaurant.number_served}")
restaurant.number_served = 10
print(f"The number of served customer is :{restaurant.number_served}")

restaurant.set_number_served(20)
print(f"The number of served customer is :{restaurant.number_served}")

restaurant.increment_number_served(5)
print(f"The number of served customer is :{restaurant.number_served}")
